﻿namespace EyeOpen.PassingData.Windows
{
	using System.Windows.Forms;

	public partial class MainForm : Form
	{
		public MainForm()
		{
			InitializeComponent();
		}

		private void ShowButtonClick(object sender, System.EventArgs e)
		{
			var customer = new Customer();

			new CustomerForm(customer)
				.ShowDialog(this);

			nameTextBox.Text = customer.Name;
		}
	}
}
